package kata.bankOCR;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

/**
 * @author cuiH
 * Date: 13-10-21
 */
public class BankTest {
    @Test
    public void test(){
        Bank bank = new Bank();

        String result;

        //测试生成数的情况
        result = bank.result(" _  _  _  _  _  _  _  _  _ \n" +
                             "| || || || || || || || || |\n" +
                             "|_||_||_||_||_||_||_||_||_|");
        assertEquals("000000000",result);

    }
}
